import request from '@/utils/request'

// 出厂水质检测统计
export function getFactoryWaterQualityStatistics() {
  return request({
    url: '/basic/api/home/waterQualityStatistics',
    method: 'get'
  })
}
// 本月统计
export function getMonthStatistics() {
  return request({
    url: '/basic/api/home/monthlyStatistics',
    method: 'get'
  })
}

// 工单统计
export function getWorkOrderStatistics() {
  return request({
    url: '/basic/api/home/orderStatistics',
    method: 'get'
  })
}

// 首页总览
export function getIndexStatistics() {
  return request({
    url: '/basic/api/home/overview',
    method: 'get'
  })
}

// DMA产销差排名

export function getDmaProductionDifferenceRanking() {
  return request({
    url: '/basic/api/home/dmaRanking',
    method: 'get'
  })
}

// 设备状态统计
export function getDeviceStatusStatistics() {
  return request({
    url: '/basic/api/home/deviceStatusStatistics',
    method: 'get'
  })
}


// 获取设备参数
export function getDeviceParameter() {
  return request({
    url: '/basic/api/screen_url/get',
    method: 'get'
  })
}